<?php
/*
*	首页 @zairwolf
*/

require_once 'include/init.php';

_header(array(),0);//输出头部

$tpl = new T('index');
$tpl->assign(array(
	'comment_secode'   => _secode(1),
	'G_bbsurl'          => $_SYSTEM['SYSTEM']['BBS_URL'],
));

//读取后台自定义的缓存内容
include _cache('cache');
foreach(array_keys($_CACHE['cache']) as $v) {
	include _cache($v);
	$tpl->assign($v, $_CACHE[$v]);
}

$tpl->output();

_footer();
